package demo4_protected关键字;

import demo3_protected关键字.Base;

public class C extends Base {
    public static void main(String[] args) {
        C c = new C();
        System.out.println(c.name);
        System.out.println(c.age);
    }
}
